home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / cbibcode.arc / GTSWTCHR.C < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-05  |  163 b   |  9 lines

  1. /* GTSWTCHR.C --- p. 613 */
  2. #include <stdio.h>
  3. #include <dos.h>
  4. main()
  5. {
  6.     int c;
  7.     c = getswitchar();
  8.     printf("The current switch char is: \'%c\'\n", c);
  9. }